<template>
    <ul>
        <li v-for="user in users" :key="user.id">
            {{ user.name }} 的年龄 {{ user.age }}
        </li>
    </ul>
</template>

<script>
const users = [
    { id: 1, name: "李四", age: 19 },
    { id: 2, name: "王五", age: 26 },
    { id: 3, name: "小明", age: 32 }
];
export default {
    data() {
        return {
            users
        };
    }
};
</script>

<style></style>
